<?php

defined( 'IN_CLASS' ) or die( 'Access Error!' );

class base {

	public $tpix = 'mc2_pix';
	public $tcomment = 'mc2_comment';
	public $tlinks = 'mc2_links';
	public $tmember = 'mc2_member';
	public $tonline = 'mc2_online';
	public $tscore = 'mc2_score';
	public $tshare = 'mc2_share';
	public $tsms = 'mc2_sms';
	public $tword = 'mc2_word';
	
	function __construct() {
		$aV = get_class_vars( 'base' );
		foreach ( $aV as $k => $v ) {
			if( in_array( $v, array() ) ) {
				
			} else {
				$this->$k = '`' . all::$cfg['dbname_user'] . '`.`' . $v . '`';
			}
		}
	}
	
}
